<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class AddressLibrary extends TimeModel
{

    protected $name = "address_library";

    protected $deleteTime = "delete_time";

    /**
     * 一个仓库对应一个仓库地址
     */
    public function library()
    {
        return $this->belongsTo(Library::class, 'library_id', 'id');
    }


}